﻿#region Header
// ------------------------ Licence / Copyright ------------------------
// 
// ScrumTable for Scrum Meeting Support
// Copyright © HSR - Hochschule für Technik Rapperswil
// All Rights Reserved
// 
// Author:
//  Michael Gfeller Silvan Gehrig Patrick Boos
// 
// ---------------------------------------------------------------------
#endregion

#region Usings

using System;

#endregion

namespace ScrumTable.Common.Config.Xml
{
    /// <summary>
    /// Represents the root driver configuration node.
    /// </summary>
    public interface IXmlConfigProperty
    {
        #region Properties
        //--------------------------------------------------------------------
        // Properties
        //--------------------------------------------------------------------

        /// <summary>
        /// Returns the configuration property name.
        /// </summary>
        string PropertyName { get; }

        /// <summary>
        /// Returns the type of the value for the property to configure.
        /// </summary>
        Type Type { get; }

        /// <summary>
        /// Returns the value of the property to configure.
        /// </summary>
        object Value { get;  }

        /// <summary>
        /// Returns true if the property is read only and should not be
        /// set over the config property API.
        /// </summary>
        bool IsReadOnly { get; }

        #endregion

        #region Methods
        //--------------------------------------------------------------------
        // Methods
        //--------------------------------------------------------------------

        #endregion

        #region Events
        //--------------------------------------------------------------------
        // Events
        //--------------------------------------------------------------------

        #endregion
    }
}
